<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>热点网络信息</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <style>
        body {
            background-color: #f4f7fc;
            font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        }
        .container {
            margin-top: 50px;
            max-width: 800px;
        }
        .card {
            border-radius: 15px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            background-color: white;
            padding: 20px;
            margin-bottom: 20px;
        }
        .card h5 {
            font-weight: bold;
            color: #333;
            margin-bottom: 10px;
        }
        pre {
            background-color: #f8f9fa;
            padding: 15px;
            border-radius: 8px;
            overflow-x: auto;
            font-size: 14px;
        }
        .btn-back {
            background-color: #6c757d;
            color: white;
            padding: 10px 25px;
            border-radius: 5px;
            text-decoration: none;
        }
        .btn-back:hover {
            background-color: #5a6268;
        }
    </style>
</head>
<body>
<div class="container">
    <h2 class="text-center mb-4">热点网络信息</h2>

    <div class="card">
        <h5>IP 信息（wlan0）</h5>
        <pre>{{ info.ip_info }}</pre>
    </div>

    <div class="card">
        <h5>路由信息</h5>
        <pre>{{ info.route_info }}</pre>
    </div>

    <div class="card">
        <h5>DNS 配置</h5>
        <pre>{{ info.dns_info }}</pre>
    </div>

    <div class="text-center">
        <a href="/index" class="btn-back">返回首页</a>
    </div>
</div>
</body>
</html>
